<!-- 登陆界面 -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>FrogKing论坛——登录</title>	
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=GBK">
    <link rel="stylesheet" type="text/css" href="./styles.css">
  </head>
  <script type=text/javascript>
// 验证输入不为空的脚本代码 
function checkForm(form) {
if(form.username.value == "") {
alert("用户名不能为空!");
 
form.username.focus();
return false;
}
if(form.password.value == "") {
alert("密码不能为空!");
form.password.focus();
return false;
}
return true;
}
</script>
  <body background="Pictures/001.jpg">
  <center>
<h1><br><br>欢迎来到FrogKing论坛 首先请登录</h1>  <br><br>
<table border=0>
<form action="enter.jsp" method="post" onsubmit="return checkForm(this);">
<tr>
<td><h2>用户名：</td><td><h3><input type="text" name="username"></td>
</tr>
<tr>
<td><h2>密码 ：</td><td><h3><input type="password" name="password"></td>
</tr>
<tr>
<td><input type="submit" value="登录" name="submit1" ></td>
<td><input type="reset" value="重置" name="reset1"></td>
</tr>
</form>
<tr>
<td>
<form action="getPassword.jsp" method=post >

<input type="submit" value="取回密码" name="getpass">
</form>
</td>
<td>
<form action="register.jsp" method=post >
<input type="submit" value="新用户注册" name="regist">
</form>
</td>
</tr>
</table>
</center>

  </body>
</html>
